package com.example.coursehub.repository;

import com.example.coursehub.entity.CourseQuestionBankQuestion;
import com.example.coursehub.entity.CourseQuestionBankQuestionId;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface CourseQuestionBankQuestionRepository extends JpaRepository<CourseQuestionBankQuestion, CourseQuestionBankQuestionId>, JpaSpecificationExecutor<CourseQuestionBankQuestion> {
    List<CourseQuestionBankQuestion> findByCourseQuestionBank_CourseQuestionBankId(String courseQuestionBankId);
}